<?php
// +----------------------------------------------------------------------
// | EfarHost [ Easy Far And Easy More...]
// +----------------------------------------------------------------------
// | Copyright (c) 2008-2017 http://efarhost.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 琴瑟琵琶 <405146868@qq.com> <efarhost@foxmail.com>
// +----------------------------------------------------------------------

// [ 应用入口文件 ]

if (version_compare(PHP_VERSION,'5.4.0','<')) {
	die('require PHP > 5.4.0 !');
}
// 定义应用目录
define('APP_PATH', __DIR__ . '/../application/');

/**
 * 模型绑定
 */
define('BIND_MODULE','company');

/**
 * 缓存目录设置
 * 此目录必须可写，建议移动到非WEB目录
 */
define ( 'RUNTIME_PATH', __DIR__ . '/../data/' );

// 加载框架引导文件
require __DIR__ . '/../core/start.php';